package com.es.www.kyl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.es.www.kyl.bean.req.client.QuestionCompletionReq;
import com.es.www.kyl.bean.req.web.QuestionAddReq;
import com.es.www.kyl.bean.req.web.QuestionAuditReq;
import com.es.www.kyl.bean.req.web.QuestionReq;
import com.es.www.kyl.bean.req.web.QuestionUpdateReq;
import com.es.www.kyl.bean.res.client.QuestionCompletionVO;
import com.es.www.kyl.bean.res.web.QuestionListVO;
import com.es.www.kyl.domain.Question;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author Estranger
 * @date 2025/7/31
 * description
 */
public interface QuestionService extends IService<Question> {
	PageInfo<QuestionListVO> pageQueryQuestionList(QuestionReq req);

	void addQuestion(QuestionAddReq req);

	void deleteQuestion(Integer questionId);

	void auditQuestion(QuestionAuditReq req);

	List<QuestionCompletionVO> getQuestionCompletionList(QuestionCompletionReq req);


    void updateQuestion(QuestionUpdateReq req);
}
